package com.xaicode.auth.security.domain;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登陆校验信息包装
 * 
 * @date 2024/12/6
 */
@Data
public class LoginBody {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    /**
     * 缓存验证码的RedisKey
     */
    @NotBlank(message = "验证码标识符不能为空")
    private String uuid;

    @NotBlank(message = "验证码不能为空")
    private String verifyCode;

}
